/**
 *                            License
 * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS  
 * CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). 
 * THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.  
 * ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR  
 * COPYRIGHT LAW IS PROHIBITED.
 * 
 * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND  
 * AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE  
 * MAY BE CONSIDERED TO BE A CONTRACT,
 * THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED 
 * HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
 * 
 */
package com.lineage.server.templates;

/**
 * Class <code>L1GetBackRestart</code> 数据库模版:重新开始后返回的坐标点.
 * 
 * @author jrwz
 * @version 2012-6-16上午10:00:05
 * @see com.lineage.server.templates
 * @since JDK1.7
 */
public final class L1GetBackRestart {

    /** 范围. */
    private int area;
    /** 注解. */
    private String note;
    /** 坐标:X. */
    private int locX;
    /** 坐标:Y. */
    private int locY;
    /** 地图编号. */
    private int mapId;

    /**
     * 数据库模版:重新开始后返回的坐标点.
     */
    public L1GetBackRestart() {
    }

    /**
     * 取得范围.
     * 
     * @return 范围
     */
    public int getArea() {
        return this.area;
    }

    /**
     * 取得坐标:X.
     * 
     * @return 坐标:X
     */
    public int getLocX() {
        return this.locX;
    }

    /**
     * 取得坐标:Y.
     * 
     * @return 坐标:Y
     */
    public int getLocY() {
        return this.locY;
    }

    /**
     * 取得地图编号.
     * 
     * @return 地图编号
     */
    public int getMapId() {
        return this.mapId;
    }

    /**
     * 取得注解.
     * 
     * @return 注解
     */
    public String getNote() {
        return this.note;
    }

    /**
     * 设置范围.
     * 
     * @param i
     *            范围
     */
    public void setArea(final int i) {
        this.area = i;
    }

    /**
     * 设置坐标:X.
     * 
     * @param i
     *            坐标:X
     */
    public void setLocX(final int i) {
        this.locX = i;
    }

    /**
     * 设置坐标:Y.
     * 
     * @param i
     *            坐标:Y
     */
    public void setLocY(final int i) {
        this.locY = i;
    }

    /**
     * 设置地图编号.
     * 
     * @param i
     *            地图编号
     */
    public void setMapId(final int i) {
        this.mapId = i;
    }

    /**
     * 设置注解.
     * 
     * @param s
     *            注解
     */
    public void setNote(final String s) {
        this.note = s;
    }
}
